package com.xiangban.feign;

import com.xiangban.aop.Permission;
import com.xiangban.feign.fallBack.DoctorFallback;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.HashMap;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/12/31 12:19
 */
@Component
@FeignClient(value = "${system.doctor}",fallbackFactory = DoctorFallback.class)
public interface DoctorFeign {


    @ApiOperation("申请退款")
    @PostMapping("/refund_order_list")
    void refundOrderList(HashMap<String,String> map);
}
